/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/* USUARIO EXTERNO INSERT */
function showChecked(input){
    var id = $(input).attr("id");
    id = id.replace("is","");
    if($(input).is(":checked")){
        $(".showChecked."+id).show(300);
    }else{
        $(".showChecked."+id).hide(300);
        $(".showChecked."+id+" input").val("");
    }
}

$(document).ready(function(){
    $("input.showChecked").each(function(){
        showChecked(this);
    });
});


